package com.dragon.mmochat.model.enumType;

public enum MmochatBetState {
	可以下注状态(0), 冻结下注状态(1), 开盘状态(2), 未启动状态(3);

	int key;

	MmochatBetState(int k) {
		key = k;
	}

	public int getKey() {
		return key;
	}

	public static MmochatBetState get(int k) {
		for (MmochatBetState type : MmochatBetState.values()) {
			if (type.getKey() == k) {
				return type;
			}
		}
		return null;
	}

}
